import { BoxGeometry, Mesh, MeshBasicMaterial, Object3D } from "three";

export class Cube extends Object3D {
  constructor() {
    super();
    const geometry = new BoxGeometry();
    const material = new MeshBasicMaterial({ color: 0x00ff00 });
    const cube = new Mesh(geometry, material);
    this.add(cube);
  }
}
